package org.testis.webautomationmodule.data;

import org.testis.data.*;
import java.util.ArrayList;
import java.util.LinkedHashMap;


/**
 * A class to hold  data nodes  of a web automation test step
 * @author nurhat
 */
public class WebAutomationModuleDataObject extends TestStepDataObject
{

    private static final long serialVersionUID = 19827L;
    /**
     * Defines a way to reach main objects  those will be used to verification/set.
     * Login process and selecting the page that contains the objects holds
     * with this list
     */
    private ArrayList<WebAutomationModuleDataNode> m_loginDataList =
        new ArrayList<WebAutomationModuleDataNode>();
    /**
     * Defines main objects  those will be used to verification/set.
     */
    private ArrayList<WebAutomationModuleDataNode> m_pageObjectsDataList =
        new ArrayList<WebAutomationModuleDataNode>();
    private LinkedHashMap<String, String> m_uiObjectValueList;


    public WebAutomationModuleDataObject()
    {
        m_uiObjectValueList=new LinkedHashMap<String, String>();
    }


    public WebAutomationModuleDataObject(TestStepDataObject data)
    {
        super(data);
         m_uiObjectValueList=new LinkedHashMap<String, String>();
    }


    public ArrayList<WebAutomationModuleDataNode> getLoginDataList()
    {
        return m_loginDataList;
    }


    public void setLoginDataList(
        ArrayList<WebAutomationModuleDataNode> rootDataList)
    {
        this.m_loginDataList = rootDataList;
    }


    public ArrayList<WebAutomationModuleDataNode> getPageObjectsDataList()
    {
        return m_pageObjectsDataList;
    }


    public void setPageObjectsDataList(
        ArrayList<WebAutomationModuleDataNode> pageObjectsDataList)
    {
        this.m_pageObjectsDataList = pageObjectsDataList;
    }


    public LinkedHashMap<String, String> getUiObjectValueList()
    {
        return m_uiObjectValueList;
    }


    public void setUiObjectValueList(LinkedHashMap<String, String> m_uiObjectValueList)
    {
        this.m_uiObjectValueList = m_uiObjectValueList;
    }


    @Override
    public String toString()
    {
        return "";
    }
    
}
